//package com.dengyuanke.findway.conf;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * Created by dengyuanke on 2017/9/19.
// */
//@Configuration
//public class MyWebAppConfigurer extends WebMvcConfigurerAdapter {
////    @Override
////    public void addInterceptors(InterceptorRegistry registry) {
////        InterceptorRegistration addInterceptor = registry.addInterceptor(new LoginInterceptor());
////        // 排除配置
////        addInterceptor.excludePathPatterns("/login");
////        // 拦截配置
////        addInterceptor.addPathPatterns("/**");
////    }
//}
